package com.tvunetworks.center.user.util;

import com.tvunetworks.center.gs.model.Device;

import java.io.Serializable;
import java.util.Comparator;

/**
 * @program: tvucc-user
 * @description:
 * @author lebronchen
 * @create: 2019-03-20 10:29
 **/
public class DeviceCompareByName implements Serializable,Comparator<Device>  {


    @Override
    public int compare(Device o1, Device o2) {
        return o1.getName().compareTo(o2.getName());
    }
}
